@import '../../config/base.scss';

.home-top{
    margin: 0 $gap;
    line-height: 0.44rem;
    overflow: hidden;

    img{
        width: 0.15rem;
    }

    .left{
        float: left;
        color:#000;
        width: calc(100% - 60px);
        height:44px;
        overflow: hidden;

        .home-logo{
            float: left;
            width:0.72rem;
            padding-right: 0.1rem;

            img{
                width:100%;
                vertical-align: middle;
            }
        }

        .home-location{
            @extend %ellipsis;
            width: calc(100% - 82px);
            float: left;
            margin-top: 5px;
            height: 34px;
            line-height: 14px;
            font-size: 0.14rem;
            padding: 10px 14px;
            color:#333;
            border-radius: 17px;
            background-color: #ededed;

            i{
                color: $text-orange;
                margin-right: 6px;
            }
        }
    }
    .right{
        float: right;

        span,
        .link{
            display: inline-block;
            line-height: 0.44rem;
            margin-left: 0.09rem;
            color:#666;
            img{
                vertical-align: middle;
            }
        }

        .link{
            margin-right: 0.09rem;
        }
    }
}
